Jump to content

RegExp


AZJIO
 Share

Recommended Posts

RegExp - Test regular expressions (En, Ru) v1.0.2

screenshot

b5bcf7522484.png

RegExp.7z (0.9 MB, exe+sources+Library_RegExp, v0.8 + v1.0.2)

The tool is designed to test regular expressions. Allows you to save the template in the library.

alternative:

>String Regular Expressi0n Tester V2, Szhlopp

C:Program FilesAutoIt3ExamplesHelpfileStringRegExpGUI.au3

>RegExp Quick Tester, Lazycat

>RegEx tester, Mat

Edited by AZJIO
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

This one looks interesting. Couple things:

1) Can you explain a little more what the options 'Calculate' and 'No Update' do?

2) The Grouping options 2 and 4 don't seem to display correctly, try the 'mail' or 'URL' examples.

3) The checkbox next to Group is counterintuitive. I would expect checking the box to display the 'Group #:' text, not hide it.

Link to comment
Share on other sites

1. 'Calculate'... Sometimes you need to use the sample replacement "$0"&@CRLF, but it is literally. To change this, you should use the option 'Calculate'

'No Update'... When choosing a template in the right list is changing the text in the search box. But sometimes you want to insert special text which shouldn't will be replaced when choosing a template.

Perhaps the translation on the buttons and in tooltips are not correct or do not understand?

2. Maybe not the perfect template, but the program correctly interprets.

3. OK

Edited by AZJIO
Link to comment
Share on other sites

It does not work with 4. So it should be. This is normal. It should work with 3, it is the rule.

#include <Array.au3>
$p='technic aaa@mail.ru '&@CRLF&'work aa1@mail.com yes'
$test=StringRegExp($p, '[A-Za-z0-9._-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}', 4)
_ArrayDisplay($test, 'Array')
$test=StringRegExp($p, '[A-Za-z0-9._-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}', 3)
_ArrayDisplay($test, 'Array')
Link to comment
Share on other sites

  • 5 months later...

I'm going to give this one a try. Thanks.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

  • 2 weeks later...

These u have are good in the list but i think you should add a lot more. IF this programm is not offering examples then why should i use it and not just write my own script?

Anyway im giving it a shot

I feel nothing.It feels great.

Link to comment
Share on other sites

  • 2 months later...

Thank you, this is so usefull.

saludos

Edited by Danyfirex
Link to comment
Share on other sites

  • 9 months later...
  • 5 years later...

Added interaction with programs (Notepad++, SciTE, AkelPad4). Inserts or captures texts from the search and replace windows.

flag "On top of all windows"

Command line added

-s:"search" - Fills the field. For example, the selected regular expression in the code. $(CURRENT_WORD) for Notepad++.

-r:"replace" - Fills the field

-p:"path" - Fills the field with the contents of the file

-n:"1" - Capture from Notepad++

-n:"2" - Capture from SciTE

-n:"3" - Capture from AkelPad4

Link to comment
Share on other sites

Hi.

The examples (in the library) in the 7z-file are all something like that:

[z--z]
Íàéòè ïîâòîð ñëîâà
(?<![^\s\A])([À-ÿ¨¸]+)[\h]+\1

33
Ýòîò øàáëîí ïîçâîëÿåò íàéòè ïîâòîðû ïîâòîðû â ñëîâàõ.
Òàêàÿ îøèáêà ÷àñòî âñòðå÷àåòñÿ ó ïèñàòåëåé ïèñàòåëåé ðåäàêòèðóþùèõ ñâîè òåêñòû.
Áóäòå îñòîðîæíû, ïîâòîðû íå âñåãäà ÿâëÿþòñÿ îøèáêîé, äà äà.

Somebody a hint how to change that?

Simpel

SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win_10   Build = 19044   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Link to comment
Share on other sites

Спасибо.

Может быть, я могу сделать это сам. Я учил русский язык в школе. Очен мало.

Thanks and regards, Simpel

SciTE4AutoIt = 3.7.3.0   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win_10   Build = 19044   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE     H:\...\AutoIt3      H:\...\AutoIt3\Include     (H:\ = Network Drive)

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...