' URL that generated this code:
Private Sub Command1_Click()
Dim txt As String
txt ="42 43"
Dim re1 As String
re1 ="(42)" 'Integer Number 1
Dim re2 As String
re2 ="(\d)" 'Any Single Digit 1
Dim re3 As String
re3 =".*?" 'Non-greedy match on filler
Dim re4 As String
re4 ="(\d+)" 'Integer Number 2
Dim r As New RegExp
r.Pattern = re1+re2+re3+re4
r.IgnoreCase = True
Dim m As MatchCollection
Set m = r.Execute(txt)
If m.Item(0).SubMatches.Count > 0 Then
' To run this code:
' .Start Microsoft Visual Basic 6.0.
' .On the File menu, click New Project.
' .Click Standard Exe in the New Project dialog box, and then click OK.
' .On the Project menu, click References.
' .Double-click Microsoft VBScript Regular Expressions 5.5, and then click OK.
' (If you can't find this option, download "Microsoft Windows Script 5.6"
' from Microsoft)
' .In the toolbox, double-click CommandButton.
' .Double-click Command1 to open the Code window.
' .Paste the code above into the Command1_Click event handler:
One of the most helpul tool ever i have seen on the net,,,, Hats off
Thu, 2 May 2013 06:25AM
Fri, 3 May 2013 12:07AM
Man you are awesome!!!. Congratulation Excelente Maldita Aplicacion!!!!
Fri, 3 May 2013 12:08AM
I'll name my first child after you. I love this tool.
Fri, 3 May 2013 09:14AM
Fri, 3 May 2013 01:26PM
Fri, 3 May 2013 03:19PM
exactly what i needed :)
Sat, 4 May 2013 11:27AM
Sir, you made my day :) Awesome work and very nice that its available for free
Sat, 4 May 2013 03:10PM
Mon, 6 May 2013 04:06PM
This is the greastest thing since sliced bread!!
Mon, 6 May 2013 10:47PM
Ugly site, excellent tool.
Tue, 7 May 2013 04:26PM
Thu, 9 May 2013 02:46AM
Thu, 9 May 2013 07:13AM
Thank you, kind sir. This is awesome!
Thu, 9 May 2013 11:07AM
Love this too sooooo much! Would love an output option that outputs a suitable `grep- E` regex :)
Thu, 9 May 2013 07:50PM
Thanks a lot for putting this out!
Thu, 9 May 2013 08:23PM
Fri, 10 May 2013 04:23AM
thank you, awesome work, awk pls :)
Fri, 10 May 2013 03:56PM
Fri, 10 May 2013 04:46PM
Fri, 10 May 2013 04:46PM
Sat, 11 May 2013 09:18PM
Sun, 12 May 2013 05:22PM
mark, this is awesome!
Sun, 12 May 2013 08:57PM
Bitch please, you must have a mental disease
Mon, 13 May 2013 12:25AM
Mon, 13 May 2013 07:56AM
Simple, Concise, Usefull, PERFECT. Good App.
Mon, 13 May 2013 10:04AM
Round braces detection is not perfect. It skips the ones in middle if there are 2 braces groups. eg: (ab) (ab), it will detect "ab) (ab" in a round braces. At leas in my case.
Mon, 13 May 2013 11:20AM
Dude: thank you so Much!! Regular Expressions can be such a headache!