You could upgrade it to the latest Android 15 with LineageOS, its still a supported device: https://wiki.lineageos.org/devices/beryllium/
Granted probably not much point if its just an MP3 player, however with 6/8gb of ram it could still make a good backup device.
Having been using Windows for 30 years and 3 Surface Pros in the meantime (4,6,9) and recently bought a 15" macbook air m4.
The OS is indeed a big deal.
Hardware wise the surface pro feels as nice as macbook air, but Windows...man it's it's own enemy now
Question
Seabizkit
Hi all
I am trying to write some regex to remove all white space from html.
but the regex i am currently using doesn't factor in that in the pre tags there maybe opening "<" and closing ">" tags
This matches everything inside the pre tags
(<)\s*?(pre\b[^>]*?)(>)([\s\S]*?)(<)\s*(/\s*?pre\s*?)(>)
e.g.
(009)156 (010) (0)<pre> <test> edehofo<w<dieoj > ></pre> yuui u ji
will match
<pre> <test> edehofo<w<dieoj > ></pre>
and
(?<=\s)\s+(?![^<>]*</pre>)
eg will almost work but does not work if there is an "<" or ">" in the mark up.
space[ ]spaces <pre>[ ]spaces</pre>space[ ]spaces
will result in
space[ ]spaces <pre>[ ]spaces</pre>space[ ]spaces
but if there is a "<" or ">" in the pre tags then it will not work.
Could anyone help me
Link to comment
https://www.neowin.net/forum/topic/1252664-regex-c-remove-white-space-but-not-inside-pre-and-pre/Share on other sites
10 answers to this question
Recommended Posts