[原创]实时监控输入框的输入变化,并限制输入只能是数字+字母,获取并设置光标位置
2023-8-13 1239
奖励
收藏
点赞
分享
https://www.123pan.com/s/NflRVv-Cm5Sh
最新回复 (27)
  • avatar image
    keketoco00 16天前

    Brother, you still don't understand me, I think it's the translator. If I use two SED commands sed -ex -ni str=0,a,b,edit1 sed -ex -ni str=0,t,x,edit1 It will always focus on the second one, in this case it will focus on "t" and "x". I need to change several letters, not just "a" and "b".

    Keketoco00
  • avatar image
    爱心会员VIP会员
    527104427 16天前
    楼主   27
    keketoco00 Brother, you still don't understand me, I think it's the translator. If I use two SED comm ...

    要替换几个字母就写几条命令啊

    sed -ex -ni str=0,a,b,edit1

    sed -ex -ni str=0,t,x,str

    sed -ex -ni str=0,c,g,str

    sed -ex -ni str=0,d,h,str

    sed -ex -ni str=0,e,i,str

    sed -ex -ni str=0,f,j,str

     

    https://www.123pan.com/s/NflRVv-Cm5Sh
  • avatar image
    keketoco00 15天前

    Now I understand you, thank you very much for your time.

    Keketoco00
返回