Hi Experts,
Wasn't sure where to put this so I followed the posting rules. I'm looking for a regex that gives me the following results:
Example 1:
string = "randomtextrand omtexttotal15.1 9randomtextrand omtext"
needed result: "total15.19 "
(I managed to do this pretty well, now the one that gives me a problem:)
Example 2:
string = "randomtextrand textsubtotal15. 19randomtextran domtext"
needed result: ""
Thanks very much for your feedback.
Wasn't sure where to put this so I followed the posting rules. I'm looking for a regex that gives me the following results:
Example 1:
string = "randomtextrand omtexttotal15.1 9randomtextrand omtext"
needed result: "total15.19 "
(I managed to do this pretty well, now the one that gives me a problem:)
Example 2:
string = "randomtextrand textsubtotal15. 19randomtextran domtext"
needed result: ""
Thanks very much for your feedback.
Comment