craguss2k 0 Posted August 23, 2013 Report Share Posted August 23, 2013 I have a simple piece of text in a variable "775.44 / 1,000 MB" Without brackets :-) Can someone tell me the regex code so I am left with only the "1,000" I am doing a replace regular expression. Thanks Quote Link to post Share on other sites
Aymen 385 Posted August 23, 2013 Report Share Posted August 23, 2013 try this (?<=([0-9, ]+)\/)([0-9, ]+)(?=MB) Quote Link to post Share on other sites
HelloInsomnia 1103 Posted August 23, 2013 Report Share Posted August 23, 2013 For Aymen's above code you would use that in a find regular expression and not a replace fyi. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.