"\d{4}[.]\d{2}[.]\d{2}"
| Documentation: | Logs the given message with the given level. |
|---|---|
| Start / End / Elapsed: | 20160301 23:17:26.997 / 20160301 23:17:26.997 / 00:00:00.000 |
| 23:17:26.997 | INFO | extend to 31.12.2016 |
| Documentation: | Returns lines of the given |
|---|---|
| Start / End / Elapsed: | 20160301 23:17:26.997 / 20160301 23:17:26.997 / 00:00:00.000 |
| 23:17:26.997 | INFO | 0 out of 1 lines matched |
| 23:17:26.997 | INFO | ${final} = |
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Hello Robot,Thanks alot for kind suggestion.
I was not able to get a keyword in robot framework to get this working.i used the following${final}= Get Lines Matching Regexp ${text} \d{2}[.]\d{2}[.]\d{4}
You want to remove extend to text from ‘extend to 2016.12.31’ correct?
You can do that with following:
${text}= Replace String ${text} extend to ${EMPTY}
With above, you will now have only date in ${text}
--
Try following….
${text}= replace string using regexp ${text} .+[A-Za-z ] ${EMPTY}