Quote:_s.replacerx("#if.*(?s)(.*?)#endif" "")-> This replacement method always leaves a blank line, It's the same in PowerShell
Quote:_s.replacerx("(???!\n)\s)*\n){2,}" "[]")-> This may affect all blank lines
Gets the content between two tags
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Gets the content between two tags - by Davider - 10-28-2022, 03:38 AM
RE: Gets the content between two tags - by Kevin - 10-28-2022, 12:42 PM
RE: Gets the content between two tags - by Davider - 10-28-2022, 02:08 PM
RE: Gets the content between two tags - by Kevin - 10-28-2022, 07:49 PM
RE: Gets the content between two tags - by Davider - 10-28-2022, 10:52 PM
RE: Gets the content between two tags - by Kevin - 11-02-2022, 01:49 PM
RE: Gets the content between two tags - by Davider - 11-03-2022, 12:36 AM
RE: Gets the content between two tags - by Kevin - 11-03-2022, 04:19 AM
RE: Gets the content between two tags - by Davider - 11-27-2022, 02:46 AM
|