2 posts in this topic
I have a file (see attached file) with a string all line and this problem on here is I want to separate all $00:, $03:, $10:, $20:, $25:, $30:, $40:, $45:, $110:, $115:, $120: and $T. It's mean that each $ with value start a new line ( a new paragraph). I tried with Regular Expression in notepad++ ex:
Find ($00:, $01:, $03: and so on) with regex (\$)([0-9]+): and replace is \r\n\1\2 (I think \r\n is @CRLF (not sure :() ) Find $T with regex (\$T)(.*?)(\$T) and replace is \1\2\r\n\3 When I try these regex to replace in notepad on StringRegexReplace the results is incorrect . I have read some example simple about regex. Please advise me how to do that with some example on autoit . The result will be in attached photo. Thanks
Hi, i want read all text in website doc.google, link : https://docs.google.com/document/d/1ePaOK3w4mOi0fmOF7WQmF5kYvAXQtztVI7018wei_xs/edit (This is all my account , don't remember :v) how i read all text in this web? Tks
Hello, i need to validate a string can be different things. I just need a True - False return value, no groups or things like that. It will be always one line at time to be processed by StringRegEx
13:52~SUN, MON, TUE, WED, THU, FRI, SAT|String
02:52 XX~SUN, MON, FRI|String
22/04/2017 02:52 YY|String
I need to validate until and inclusively the | after that i don't care
The XX and YY value are two $sVariable from my script
SUN, MON, TUE, WED, THU, FRI, SAT are fixed value, the can be mixed but always in the same order like
SUN, TUE, WED
The time can be 12 or 24 hours, the date is always in the same format DD/MM/YYYY. If there is a date can't be a day after that ( see not valid )
Well i think is all
Sorry if i don't provide a working code, regex is too way complex.
When presenting a form containing a richedit control, is there any way to make the displayed text, within said richedit control, non-selectable?
In addition, is there any way to hide the vertical line cursor, within said richedit control?
Is there any way to embed characters/codes/data/etc. within a text file so that when the script reads the text file to populate the edit box, said characters/codes/data/etc. can let the script know this word needs to be capitalized, that word needs to be underscored, etc.?
For example, the text file would contain something along these lines...
<bold>This is the title</bold> This is a <italic>sample</italic> text file. This is <underscore>only</underscore> a text file. Does that make sense?