I have a document that I am attempting to parse with Java Regex and in this text quote either " "" Or "'then you have:
" "" Blow, you are not very good! "" Or:
"Blow, this 1 is not a great example '' '
I ["" "| |' ''] ([\ P {Alnum} | \ p {empty}] +) [\" "" | ' '']
Concepts: The text will start and end with "" "or" '' in the text, the numbers, letters, spaces and punctuation may be included in the body of the text Try the pattern: by matching it "Hello, World!" " You might be more specific from ("" "" Hello "," World! "" No Text "" "" Leerem ipsum '' '' '' '' ' '' '' '' Some extra text '' 'Single quote' '' '' Blow, this is not a great example 1 '' '
" lorem ipsum '' "dolor" "
'' single quote '' '
' '' Blow, this 1 is not a great example '' '' Code>
. *? but I was not sure which characters are related to "punctuation marks." / P>
Comments
Post a Comment