Create a Python Regular Expression
Budget: $10 – $30 USD
I have a text string and I need help with 2 regular expressions to help parse out some data.
First I need to be able to detect the following tag:
<Frame Time="1494187.957"/>
Note that this has a closing tag />
And then I need to be able to detect the tag:
<Frame Time="1494188.023">some extra data </Frame>
because there can be some further data like so:
<Frame Time="1494188.023">some extra data </Frame>
Note that this has some extra data and then the closing tag of </Frame>
The time "1494187.957" can simply be detected as numbers inside quotes. I don't really care about the format of this.
First I need to be able to detect the following tag:
<Frame Time="1494187.957"/>
Note that this has a closing tag />
And then I need to be able to detect the tag:
<Frame Time="1494188.023">some extra data </Frame>
because there can be some further data like so:
<Frame Time="1494188.023">some extra data </Frame>
Note that this has some extra data and then the closing tag of </Frame>
The time "1494187.957" can simply be detected as numbers inside quotes. I don't really care about the format of this.