I have a text file like so,
#greenऔर
<सेमीकोलन>
actionएक्शनmysql
admin2को
The expected output is,
#green और
< सेमीकोलन >
action एक्शन mysql
admin2 को
This is what I have tried to do so far, sed 's/[अ-ह].*/ &/g' testfile but the output that I am getting is like this,
#green और
< सेमीकोलन>
action एक्शनmysql
admin2 को
Is there anyway that it could be achieved using awk or sed to get the expected output?